package com.linfeng.business.admin.api;

import com.linfeng.business.admin.dto.data.admin.SysAdminDTO;
import com.linfeng.business.admin.dto.event.admin.cmd.AdminCreateCmd;
import com.linfeng.business.admin.dto.event.admin.cmd.AdminLoginCmd;
import com.linfeng.business.admin.dto.event.admin.cmd.AdminUpdateCmd;
import com.linfeng.component.mybatisplus.service.BaseService;

public interface IAdminService extends BaseService<SysAdminDTO, AdminCreateCmd, AdminUpdateCmd> {

//    IPage<SysAdminDTO> page(AdminPageQry qry);

    String login(AdminLoginCmd adminLoginCmd);
//
//    boolean create(AdminCreateCmd adminCreateCmd);
//
//    boolean update(AdminUpdateCmd adminUpdateCmd);
//
//    SysAdminDTO detail(Long id);
}
